package com.ktjy.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
public class SpringMvcConfig implements WebMvcConfigurer {
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        //添加登录校验的拦截器  -- 放行: 登录 , 验证码 , 退出 ,
//        registry.addInterceptor(new PermissionInterceptor())
//                .addPathPatterns("/**")
//                .excludePathPatterns("/api/captcha", "/api/login", "/api/logout");
//    }

}
